/**
 * 
 */
package org.softTank.BC.rs.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Yuzone
 *
 */
@XmlRootElement(name = "messageType")
public class MessageTypeBean {

	private String name;
	private Long id;
	private List<PartBean> part;

	@XmlAttribute
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@XmlAttribute
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@XmlElement
	public List<PartBean> getPart() {
		return part;
	}

	public void setPart(List<PartBean> part) {
		this.part = part;
	}
}
